package org.snail.core;

import org.snail.common.IdGenerator;

/**
 * 全局唯一ID生成器。
 *
 * Created by fish on 17/8/19.
 */
public final class IdFactory {

    private final static IdGenerator idGenerator = new IdGenerator();

    public static long getInvokeId(){
        return idGenerator.generate();
    }
}
